package com.wanxi.domain;


import java.io.Serializable;

//用于存储检验前台输入的数据的状态，以及验证后的返回给前台的数据
//统一返回值
public class ResultModel implements Serializable {

    //校验状态信息
    private String msg;
    private Integer code;
    private Integer count;
    //返回给前端的数据
    private Object data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
